package com.itxiuyixiu.homework.entity.dto;

import com.itxiuyixiu.homework.entity.model.Course;
import com.itxiuyixiu.homework.entity.model.Student;

import javax.persistence.*;
import java.time.LocalDateTime;

/**
 * @author 黄磊
 * @date 2020/3/5
 */
public class CourseRecordDto implements Cloneable {

    /**
     * id
     */
    private Integer id;

    /**
     * 选上课程的时间
     */
    private LocalDateTime selectTime;

    /**
     * 课程成绩
     */
    private Integer score;

    /**
     * 补考成绩
     */
    private Integer makeupScore;

    /**
     * 是否为重修课程
     */
    private Boolean rebuild;

    /**
     * 学号
     */
    private String studentId;

    /**
     * 课程id
     */
    private Integer courseId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public LocalDateTime getSelectTime() {
        return selectTime;
    }

    public void setSelectTime(LocalDateTime selectTime) {
        this.selectTime = selectTime;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getMakeupScore() {
        return makeupScore;
    }

    public void setMakeupScore(Integer makeupScore) {
        this.makeupScore = makeupScore;
    }

    public Boolean getRebuild() {
        return rebuild;
    }

    public void setRebuild(Boolean rebuild) {
        this.rebuild = rebuild;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
